package com.ruoyi.infoCollegial.mapper;

import java.util.List;
import com.ruoyi.infoCollegial.domain.InfoCollegial;

/**
 * 院校主Mapper接口
 * 
 * @author ruoyi
 * @date 2024-04-16
 */
public interface InfoCollegialMapper 
{
    /**
     * 查询院校主
     * 
     * @param id 院校主主键
     * @return 院校主
     */
    public InfoCollegial selectInfoCollegialById(Long id);

    /**
     * 查询院校主列表
     * 
     * @param infoCollegial 院校主
     * @return 院校主集合
     */
    public List<InfoCollegial> selectInfoCollegialList(InfoCollegial infoCollegial);

    /**
     * 新增院校主
     * 
     * @param infoCollegial 院校主
     * @return 结果
     */
    public int insertInfoCollegial(InfoCollegial infoCollegial);

    /**
     * 修改院校主
     * 
     * @param infoCollegial 院校主
     * @return 结果
     */
    public int updateInfoCollegial(InfoCollegial infoCollegial);

    /**
     * 删除院校主
     * 
     * @param id 院校主主键
     * @return 结果
     */
    public int deleteInfoCollegialById(Long id);

    /**
     * 批量删除院校主
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteInfoCollegialByIds(Long[] ids);

    List<InfoCollegial> selectCollegialListWx(InfoCollegial collegial);
}
